<HTML>
<HEAD>
    <meta charset="UTF-8">
    <title>ArgbEvaluator - transitionx</title>
    <link href="../../../style.css" rel="stylesheet">
</HEAD>
<BODY>
<a href="../../index.html">transitionx</a>&nbsp;/&nbsp;<a href="../index.html">in.arunkumarsampath.transitionx.evaluator</a>&nbsp;/&nbsp;<a
        href="./index.html">ArgbEvaluator</a><br/>
<br/>
<h1>ArgbEvaluator</h1>
<code><span class="keyword">object </span><span class="identifier">ArgbEvaluator</span>&nbsp;<span
        class="symbol">:</span>&nbsp;<a
        href="https://developer.android.com/reference/android/animation/TypeEvaluator.html"><span
        class="identifier">TypeEvaluator</span></a><span class="symbol">&lt;</span><a
        href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span
        class="identifier">Any</span></a><span class="symbol">&gt;</span></code>
<p>This evaluator can be used to perform type interpolation between integer
    values that represent ARGB colors.</p>
<h3>Functions</h3>
<table>
    <tbody>
    <tr>
        <td>
            <p><a href="evaluate.html">evaluate</a></p>
        </td>
        <td>
            <code><span class="keyword">fun </span><span class="identifier">evaluate</span><span
                    class="symbol">(</span><span class="identifier"
                                                 id="in.arunkumarsampath.transitionx.evaluator.ArgbEvaluator$evaluate(kotlin.Float, kotlin.Any, kotlin.Any)/fraction">fraction</span><span
                    class="symbol">:</span>&nbsp;<a
                    href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html"><span
                    class="identifier">Float</span></a><span class="symbol">, </span><span
                    class="identifier"
                    id="in.arunkumarsampath.transitionx.evaluator.ArgbEvaluator$evaluate(kotlin.Float, kotlin.Any, kotlin.Any)/startValue">startValue</span><span
                    class="symbol">:</span>&nbsp;<a
                    href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span
                    class="identifier">Any</span></a><span class="symbol">, </span><span
                    class="identifier"
                    id="in.arunkumarsampath.transitionx.evaluator.ArgbEvaluator$evaluate(kotlin.Float, kotlin.Any, kotlin.Any)/endValue">endValue</span><span
                    class="symbol">:</span>&nbsp;<a
                    href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span
                    class="identifier">Any</span></a><span class="symbol">)</span><span
                    class="symbol">: </span><a
                    href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span
                    class="identifier">Any</span></a></code>
            <p>This function returns the calculated in-between value for a color
                given integers that represent the start and end values in the four
                bytes of the 32-bit int. Each channel is separately linearly interpolated
                and the resulting calculated values are recombined into the return value.</p>
        </td>
    </tr>
    </tbody>
</table>
</BODY>
</HTML>
